package com.koron.system.unityUser.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * description: 用户登录信息
 * @author huangsj
 * @date 2023/6/29 15:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户登录信息")
public class WsResultUumsUser implements Serializable {
    @ApiModelProperty(value = "用户信息")
    private UumsUser user;

    @ApiModelProperty(value = "账户错误信息")
    private AccountError accountError;

    @ApiModelProperty(value = "密码设置一次的有效天数，超过天数则密码过期")
    private Integer passwordExpiredDays;

    @ApiModelProperty(value = "状态编码，1，-1，-2，-3，2，-4，-5")
    private Integer code;

    @ApiModelProperty(value = "状态（成功，没有权限，参数错误，系统错误，密码过期，用户锁定，用户停止使用）")
    private String msg;

    @ApiModelProperty(value = "错误信息详情")
    private String error;
}
